package com.smedi.ismedi.inmail.api.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@ApiModel("任务接口")
@Data
@Builder
@Accessors(chain = true)
public class TaskRecordRequest {
    @ApiModelProperty("任务ID")
    private Long id;

    @ApiModelProperty("发起人Id")
    private Long sponsorId;

    @ApiModelProperty("发起人姓名")
    private String sponsorName;

    @ApiModelProperty("任务来源")
    private String sourceFrom;

    @ApiModelProperty("任务来源ID")
    private Long sourceFromId;

    @ApiModelProperty("旧状态")
    private List<String> oldStatus ;

    @ApiModelProperty("任务类型")
    private String taskType;

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("任务描述")
    private String taskDescribe;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("处理人ID")
    private Long dealPersonId;

    @ApiModelProperty("处理人姓名")
    private String dealPersonName;

    @ApiModelProperty(value = "抄送人ids")
    private String noticePersonIds;

    @ApiModelProperty("任务状态")
    private String taskStatus;

    @ApiModelProperty("任务已读")
    private Boolean taskRead;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdDate;

    @ApiModelProperty("任务时间")
    private LocalDateTime taskTime;

    @ApiModelProperty("任务截至时间")
    private LocalDateTime expireTime;

    @ApiModelProperty("任务完成时间")
    private LocalDateTime finishTime;
}
